Skip to main content

Actions on Activities

The top bar of the Activity Designer combines the tab bar that you can use to switch between open activities, and the toolbar that gives you a variety of actions that can be performed on the activity displayed on the canvas. Only one activity at a time can be displayed on the canvas.

Top Toolbar

View Activity Metadata

The Activity Metadata allow you to change the activity instance name, category, and/or description. This will change the metadata on the existing activity.

To access the Activity Metadata, click the three-dot menu on the activity's tab and select Edit.

Edit Activity Metadata

Save

Click the single floppy-disk icon on the toolbar.

This will save the existing activity shown on the canvas. If this is the first time saving a newly created/imported activity, Save will work the same as Save As.

Changing an activity that is currently used in a workflow will impact any workflow that contains this activity.

Save As

Click the double floppy-disk icon on the toolbar.

Save As will save a new version of the activity with a new name in case the activity instance name has been changed. The existing version of the activity will remain with the old name, a new copy will be saved with a new name.

Run Workflow

Click the green play button on the toolbar.

Run Workflow will debug your activity within the Activity Designer. Ensure all required fields are filled in the Activity preview, then click Run Workflow. The Workflow Execution Log will appear at the bottom of the screen, indicating the Status and Result of the workflow.

Export

Click the outbound arrow icon on the toolbar.

Exports the activity currently open on the canvas.

  • Activities can only be exported after they are saved at least once.
  • If changes are made since the last save, only the last saved version will be exported without any of the unsaved changes
  • Exports will be in .ayh file format and be a zipped folder which includes a code file (.CS, .VB, or .PY depending on code), a JSON file (.json), and a metadata file (.XML).

Import

Click the inbound arrow icon on the toolbar.

Imports a custom activity in the form of a .ayh file. For more information, refer to Actions on Activities.

Delete

To delete an activity:

  1. Open the left drawer menu and navigate to the activity by hovering over Category > Activity.
  2. Click the trash can icon that appears.
  3. Confirm that you want to permanently delete the activity.

A custom activity can be deleted only if it is not used in any workflow. First remove the activity from all workflows, and then delete it from the Activity Designer.

To learn more about deleting categories, see Deleting a Category

danger

Deleted activities cannot be restored.